package edu.gdkm.extendsdemo;

public class Teacher extends Person{
    public Teacher() {
    }

    public Teacher(String id, String name) {
        super(id, name);
    }

    public void say(){
        System.out.println("我是一名教师。");
        super.say();
    }
}

